package cn.hnkjxy.dao;



import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.hnkjxy.po.Order;

public interface OrderDao {
	public List<Order> findUserOrder(Integer id);
	public Integer addOrder(Order order);
	public Integer deleteOrder(@Param(value="id") Integer id);
	public List<Order> findByOrder(@Param(value="name") String name,@Param(value="tel") String tel,@Param(value="orid") Integer orid,@Param(value="usid") Integer usid);
	public Integer deleteOrderByUser(Integer usid);
	public List<Order> findAllOrder();
	public List<Order> findByAdminOrder(@Param(value="name") String name,@Param(value="number") String number,@Param(value="prid") Integer prid);
	public Integer deleteByAdminOrder(Integer id);
	public List<Order> findOrderData();
}
